]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspacesView: remove duplicate connection to same signal
authorMaxim Ermilov <zaspire@rambler.ru>
Thu, 27 Jan 2011 23:24:38 +0000 (02:24 +0300)
committerMaxim Ermilov <zaspire@rambler.ru>
Tue, 1 Feb 2011 20:41:05 +0000 (23:41 +0300)
js/ui/workspacesView.js

index 40b7320d9d312f5597ace7f177ba6f6ce146fd17..5f95a882be7e4f87b5464f5e58beaee83a5e0297 100644 (file)
@@ -1024,10 +1024,6 @@ WorkspacesDisplay.prototype = {
             this._workspaces[i] = new Workspace.Workspace(metaWorkspace);
         }
 
-        this._nWorkspacesNotifyId =
-            global.screen.connect('notify::n-workspaces',
-                                  Lang.bind(this, this._workspacesChanged));
-
         let binAllocation = this._workspacesBin.allocation;
         let binWidth = binAllocation.x2 - binAllocation.x1;
         let binHeight = binAllocation.y2 - binAllocation.y1;